adding js tests