Stringutils test fix

Just stumbled upon this function and it seemed wrong to OR the results of the tests instead of AND'ing them... (unless I'm missing sth.)

I did not run the tests after the change because I don't know how to on OSX, so not sure if this breaks the tests.