fixed some incorrect testcases (shadowing)