Merge pull request #52 from velour/check

Start Check
Simplify want v.s. got logic in TestCheckErrors.