add regression test for about filtering on an embedded hasMany

updated test of #568