Fixed some bugs

 - some cocaine-tools tests have been written
 - fixed and typo errors in future/__init__.py module