fixing error in test run