fix js tests
fix some tests