Added test_resample.py, tests for resample and reshape_image_to_4d_superpixel.

Here are tests for ```resample``` and ```reshape_image_to_4d_superpixel```.