unit test and fix for mode switch
Change-Id: I6585adb2857a0ed16ceae605a7f763318c946136
diff --git a/app/src/test/resources/4 b/app/src/test/resources/4
new file mode 100644
index 0000000..2a8ee5c
--- /dev/null
+++ b/app/src/test/resources/4
@@ -0,0 +1,13 @@
+{
+ "id": "4",
+ "cTag": 2,
+ "sTag": 1,
+ "nasPortId": "1/1/2",
+ "port": 132,
+ "slot": 1,
+ "hardwareIdentifier": "ff:cc:dd:aa:ee:bb",
+ "ipAddress":"15.15.15.15",
+ "nasId":"PQR-NASID",
+ "circuitId":"circuit678",
+ "remoteId":"remote678"
+}