* start testing text duplication * tests * fixes + tests
* link + hashtag bug * remove printlns * tidy up some duplicated code