Add Cheque class to make test-level abstraction

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

Add flake8 config