Added few tests and fixed few issues

Fixed adding the same user few times to db;
Fixed not adding request time field to db;
Fixed typo in README;
Added few dependencies for test running;
Added few tests;
Added "npm test" command, so it is easier to run tests now.