made all tests pass and wrote feature tests for questions and answer