add AmqpAbstractServiceFactoryTest, improve ModuleTest