update tests a bit to cover urlencoding