#2374 Creating scope file
#2374 Add spec for scope class
#2374 Finishing testing core.Scope
Merge issue '2374'