Added rspec tests for answer creation