Refactored code testing state transitions: allowed STATE_PARENT_FAILURE -> STATE_PARENT_FAULRE
Merge pull request #240 from joakim-hove/allow-PARENT-FAILURE-2-PARENT-FAILURE

Allow state change STATE_PARENT_FAILURE -> STATE_PARENT_FAILURE