Completes addition of mongo backend to existing query tests