Removed redundant call to upper

This is a minor performance tweak, and only affects the testing suite.
Merge pull request #388 from xiaclo/patch-2

fix(testing): Removed redundant call to upper