fixed test case bug