Fix test that was not cleaning meta class registry after test