fixed bug in tester