closes #1487
previously test cases with the same name would be skipped except for the last one `test/run-test.js` will now report duplicated names as errors closes #1461
console
Because the base reference can be an member expression as well, we have to dig a bit deeper to find the leftmost base reference. Fixes #451