Use more readable jids in test
Improve readability of lua script