Initial implementation of TDD using mocha