added tests and fixed model bugs
optimized fetchObject func
Merge pull request #18 from webair/feature/testingCRUD

Feature/testing crud