Add a spec task that rebuilds the db and index.