Fixed bug in test.lua with call to pcall