[test] adding jmockit framework

And a few UT testing the websocket connection

Change-Id: Ie51d2f77627d3c59a3e4910056a6eab53704f3e2