_cb_state_changed tests