Add tests for IDL -> JS type conversions.