fixed test failure when all tests are run together.