Add test for entire object being passed back