remove use of MatcherError

newer versions of rspec don't have a MatcherError class, so I have
switched AssertionFailedError to be a subclass of StandardError instead.