Added a test on shadowing for name resolution