make `test` from global to local