Add test for Str function returning NULL.