fix url encode problem for simple tests