Adding missing unit test for the data receiver class