improved mocked objects and functions + some old tests, added new tests
improved mocked objects and functions + some old tests, added new tests

iliyan-trifonov/notepads-nodejs-angularjs-mongodb-bootstrap,iliyan-trifonov/notepads-nodejs-angularjs-mongodb-bootstrap