JoinMatcherTest: test the "no empty submatch for joining" case