Add objectPassingTest

Add objectPassingTest, the last of the methods mentioned in #297.