add fix for uppercase testing

previously it would only match a string that was only uppercase characters.
this fix allows a string to have non-uppercasable characters as long as
there is at least one uppercase character

a simple testcase has also been added