Better test reset on platform tests