changed regex pattern for expected messages so the tests will run on os x as well