[Security] Add more tests for StringUtils::equals

More tests for `StringUtils::equals`.