minor fix to client library, python test
updates and fixes to Lua bindings; updated Lua tests