Missing variable definition.

Module now runs in strict mode.
Added the first Mocha tests.