simplified the test case