Refactoring Test Setup