js tests work