Changed test to support LuaThread based coroutines.