mussel,test: refactor create_instance/destroy_instance.
mussel,test: remove unused variable.