Refactoring test 7.