mussel,test: fix to add instance_id param.
mussel,test: change variable scope.