added unit tests for logger and packet dispatcher