newlisp: add test

Closes #26874.

Signed-off-by: Brett Koonce <koonce@gmail.com>