Test that DstoreAdapter#query returns results with a total property