just in case, add also the test case name inside the temp folder for debug purposes
minor bug fix to verify test case file exists before it gets read