make sure that test fails if changes made by metadata rules are inadvertently cached

- polished some of the other tests