Bugfix: on py2.7 only, to_bytes_32() would return less than 32 bytes for...

... any int < (2**256)

Pull includes failing test case. Would not happen on py3, and this fix and test case has not been tested on py3.

Lovely code BTW! :+1: