Refactor testing of Answer module to shared example group