[luascript] fixed trace log level
[luascript] added some tests