Add test for multiple queries