Two query testing