Refactoring this test.