Add some more tests verifying correct behavior of subpattern- and back-reference cooperation.