Add Cheque class to make test-level abstraction

   Still get error that time64_t doesn't accept python's int

Add flake8 config
use utc time
Fix some references to undefined fields
fix issue_asset_type