[Fixes #926] Protocol & Host name ignored when creating action link

/cc: @rynowak @dougbu 
open to suggestions here...initially i did not have the `<a href` related stuff in the expectation as its difficult to read...but i wanted to cover the html attributes part too...