Added tests for validate_answer in response types.