Undoing test and testing at the same time