Relax regular expression in test case