Refactor exampleSteps cucumber.