add test for lua stack