improve test for FriendlyUrl

add new test

fixing image type issue

added new test and improved existing

deleted unused using

refactoring for 3 classes


review http://mrccodereview.cloudapp.net/ui#review:id=6317