fixing non-existent URL test. also renaming functions to be more accurate terminology-wise