Add in a unittest for the one-use pattern matcher.