added public query failing test
Merge pull request #181 from boltnev/public_query_fail

PublicQuery test when with_entities is used (fails for now)