tests almost working
sometimes the image fails...