render the back button only when it's useful
added tests for a flow with only one step (regardless of its practical usage)