Add QueryResultTest, improved DISerializerTest

Change-Id: I567968f6b3f93743fbf83db53d810fef1231ba0f