resize images for tests