adapt pattern based test cases to hold message and logLevel