-a and -d are now per-command options.
Use temporary db
Rework testsuite
Fix bug

We should rework new though
Add another testcase