add main unit tests
Add validation for step and the validateOnlyToAdvance attribute
Unit tests for validation