initial tests commit
Changes based on comments to PR
Merge pull request #52 from mozilla/mocha-tests

Mocha Tests for Scan.js