add a cleanse-database! helper for testing, and refactor dbspec to db-spec, for consistency