Added tests for recore.receive as well as a minor log fix.