added unit test shell function; fixed typo in pareser error exit message