[PATCH 2/4] reg/tests: Add some tests for strings containing the characters backslash zero