Expect/check-style unit testing with object methods
