added Url class to remove feature envy smell from expand/shorten methods
fixed typo
moved expand test with invalid url to url spec