tests for lscompile and mk-user-func