Added unit tests for the rejection reply building