more coverage + make rename_class work again with namespaces