Adding js tests