add scope tests