always close test scope.