Added filtered query and match all query
Added tests for match_all query