Fix casing on test path, encode qs params for tests