added failing test for js file
added passing tests