Added unit test for Activity Service JS