Improved exception use in lua::Script and its test.