Modified to use gocheck.ErrorMatches