fix the lua thread test