Create tests and fix was_published_recently