fixed bug in test file