add regression test for about filtering on an embedded hasMany
Merge pull request #970 from sly7-7/filter-embedded-regression-test

add regression test about filtering on an embedded hasMany