Fix the test for changes to MessageReceiver
+ Missed compilation error