Fixed instrument lifecycle test