Additional unit tests for matchError