Add whenjs test
Add db.js handler which used whenjs to operate DB
Change DB field named spec