added test with safe_string