slightly modified a test case