adds tests and updates mocha
adds caller module variable to correctly handle relative imports

updates test cases
updates readme
updates sample
bumps version and adds notice to readme