add pattern test case