add test for Lua implementation thread safety

Signed-off-by: Steven Noonan <steven@uplinklabs.net>