adds retrievearticle test
fixed variable name in retrieveTitles()