updated partial match test to use a working query