Adding webpage class for downloading pages using httpclient

Also sorted out given/when/then comments in Input test.