fixed require caching issue
made code a little more consistent with my current coding style
updated testing code to follow coding style of rest of code
1.3.1
Merge pull request #26 from ksmithut/develop

Develop