ALM-636 adapted tests to changes in state machine