I updated the test to use Ruby's built-in File.file? method.  Seems more to the point than the regexp.