Add tests for was_published_recently(). Fixed bug in
was_published_recently().