Slight cleanup of db.spec.js