fixed garbage data test case