fix the Bug test cases