Add integration tests for filtering by friend