metamodel #1126: added test for java interop