automatically close and open test solution

the compile errors in temp files should be gone