move source/models/deals.js to test/mocks/deals.js
change logging from console to logger