Move url test
Moved tests from lib.rs to files where the corresponding structs are defined