fixed silly incorrect uses of url
adding new UKIDSS tests and correcting minor bugs found along the way
tests should pass now; any further edits will go in a different
branch/PR