implement Scope inheritance
add test for properties shadowing