Gateway: receiveMessage(), receiveStatus() + unit-tests