Testing some concepts of AngularJS Scope Inheritance