unit test for .contains() with and without case sensitive.

There is a similar boolean in ReamQuery. Use that instead.