changed test so it doesn't end with the URL