valid_regexes: moved tests from access -> utils