add defun commands test with prototype access