updated tests
added resetDB.js script
added accounts hook
updated example config
updated a lot of things ...