testimage creation script