Duplicate resize tests for resizeNearest

Test that the behavior of resizeNearest matches that of resize.