test for multiple statements on one query