JAL-2374 tests for SequenceGroup.contains