Add simple tests, update package.json and jshintrc for mocha
Include param to crop (Boolean)