updated error messages and added specs for pathnames
Release 1.4.6