Test #009

Test asynchronous Lua calls, especially registration/unregistration thread safety.
