introduced fetchDetails() to query API in one place in NewsHeadline.pm; added tests