Changed while refactoring to new test.