Add test to catch empty string resp bug
Fix empty string resp bug