fixed test case for latest modification