updated Lisp API and tests