Fixed broken test caused by stricter slice checking