Tests for simple object passing