Add js tests