tests for object handling (migration from jasmin)