Add unit test for dialplan pattern matching.