improve received error messages

added msg checker to check a functions return value against a result.
This allows the received checker to return actual useful error messages
now. 

The next would be to allow equals to check function results.

This continues #11