Added login JS unit-test
Added scalinggroup instances JS unit-test