bugfix: set ENDIAN in tests.py explicitly.

Otherwise tests.py would fail, if another endian would be guessed!