added new test case: user defined name in file-fragment
removed unused code
refactored variable name
closes 101companies/101wiki#286
user can define link text for file-fragment
refactored test cases
added support for urls as is in file fragment