making requires work with underscores and dashes
adding tests
Merge pull request #170 from tessel/jh-path-fix

making requires work with underscores and dashes