Version 1.7
* added unit tests based on Check
* fixed some bugs
