Generate a test to check that all namespaces are clean