Server side tests

Got initial db back-end testing going with mocha