adding test for plain old objects