Refactors test names to follow given when then format.