Fixed bug in running test suite.