Benchmark improvements, {resample: true} option of image.resize(), rearranged some test/helpers.