Fix ErrorTypes tests