test case for js activity