Add test to verify operation of creating an object with custom metadata