add qpid adapter unit tests.