added tests according to the specified tests
removed the js~