Test #004

Check automatic lifecycle management of C++ objects exported to Lua.
