Fixed possible bug in test suite.