mussel,test: add instance lifecycle test.