Add QueryData test

No idea why QueryData test went missing

Change-Id: Icc30036aec87c383077f846f4eb9ff408a9ce493