Tests for API compliance, small fix to response class