adapted lua print table tests to cope with non determinism in output