cleaned
logs steps to stats, writes test location