Checks new state for AUDIT_PENDING_STATE
Checks new state for CLEARANCE_PENDING_STATE
Merge remote-tracking branch 'origin/master' into dev2