Add %check macro, fix typos
Merge pull request #31 from axilleas/add_check_macro

Add %check macro, fix typos