Added some tests for sending msg in daemon
Created a common class for tests (UnknowEntityException) and started
implementing it