Fix broken tests due to register view removal.