refactoring
mocha test  assets
model constructor tests