succesful unit test of extracting year from strings in published_on field