testing solver with just write image file