change some tests from equality to regex to match slight change in node's stack trace printing