Clean up testJavaObjectsAsProperties