Add tests for js.