parametrize resize tests to call sample as well.