string: Cleanup strnlen test

Cleanup strnlen test and improve test coverage.
1 file changed