Update triple store tests for expected results when passing in quad patterns with non-nil graphs.