Protect the non-null taking functions like strcmp.
Add a simple test testing the new functionality.