add tests for init step