string: Cleanup memchr test

Improve memchr test coverage and cleanup code.
1 file changed