Add test covering `::getOverrides`