You should also change it to ```assert f.is_homogeneous is True```. Similar for others too.