Refactoring View Tests