Spec to ensure that db changes of state_machine is reflected in model