Included unit test for reason code