testcookie: zero when empty string returned