Simplified unit test setup.