Add a checksum function and use that.

Add a checksum function to methods.py.
Replace the direct usage of adler32 with that function.
Stop ignoring test* files
Update eletest.