Changed how all capital strings are tested. #318

This addresses the behavior described in issue #318.