Add test for query middleware
Add test for documents middleware