test: add test for string undefined