added integration test for filtering widget by related data
fixed merge