Modify ActionTest sample of lua for adding draw functions