add test case for when passed in object does not respond to persisted?