fixed tests; added ability to "npm test"; added mongoose devDep