Add tests for default sort and states filter for GET /