Refactor test to remove the code smell of providing an attr_writer which was there just to appease the test