fixed startup error
fixed link selection algorithm
added test scenario
collect all headings from home page