Close #1: Pass path objects into path constructor

 On branch master

	modified:   index.js
	modified:   test.js