Add unit test for Pattern.from_concat().