bug fix in test suite