Fixed tests for Lua 5.2