Add test code for checking delivery status and bounce reason