Added scope tests