basic file and image tests