test: use assert_match for Regexp assertion