fixed determinism of tests for lua version >= 5.2.1 (hash function gets random seed at startup)