Features/refactor check asserter

refs #15 

Refactored the the code to make it easier to test.
Added the string type.