Add test for state change handler for non-mergeable PR