better error handling.
adding test cases for elisp.
fixing M-t with test cases.