Add test for was_published_recently method