found the proper way to do it
simplified behaviour, can now search paths
transitioned test statements to new style
Merge branch 'master' of https://github.com/joeytwiddle/jsh