Link.getText() now returns whole text. Fixes #444

Also tests for DefaultLink were added and method Link.getHrefText was
added.