Added specs for the modelBase
preparing ModelBase.js for testing, and clean files