test for picture resampler; not valgrinded