Updates lua test , it works both on cocosplay or normal mode.