add a rabbitmq complex lifecycle test
Merge pull request #4 from EagleChen/master

add a rabbimq complex lifecycle test