Fixed this. So it is good Idea to return to red phase in red-green-refactor cycle after refactor step.