Change logic to determine the correct format of url to compare agasint depending on if a test is on cloudant, or android device not using cloudant