Refactoring redundant test #7