created some sample tests with mocha, sinon and chai