TestCase for simple object