Added test spec for custom pattern
Sample page for custom patterns