added test for percent_encoding with safe chars