Fixed the scope tests