* add lua test script, minor fix to api files * fix model import, avoid null header issue * add space before equal sign