Added unit test for the receiver to validate the content of intent.