removed repetition in static_pages_controller_test