fixed incorrect scope tests