check if testcode is in url