Added test for was_published_recently() bug

was_published_recently() has a bug that causes surveys published in the
future to be reported as being "published recently"