[Console][ProgressBar] Replaced getStep in tests
[Console][ProgressBar] Max steps should be validated