content views - fix on test for definition deletion

When a definition is deleted, the content views that were generated
using it should also be deleted.  This is similar to deletion
of a provider->product->repo (e.g. if product deleted, repo should no
longer exist).