test routine for solutions