started adding tests + updated author info
Created by: peterwilli
It's too late now but I try to add more tests and validations tomorrow (and especially copying them from https://github.com/peterwilli/flash.lib.js).
Also this PR takes a local Mocha instance. So you don't need to install it globally anymore.