Added Mocha tests for models and added spec helper for tests.