Add tests for JavaScript interoperability.