tests urlEncodeCleanMap function