lua-console: refactor old tests to work with new bindings