browserify all tests files into a single file for karma

also add sinon
DB tests (WIP)