Server tests

Added a few more tests and wanted to commit. To run tests, run "mocha serverTests.js". Enjoy