Added extra tests for combining scope queries