Test: added a memory efficiency test.
Test: Lua stack leak regression test added.