work on test suite, including js tests