Add automated test to check was_published_recently() method.