added tests for genchk

--HG--
extra : rebase_source : 4ca1982d40ec0aa29952d1b13b88498d557fe515