Adds tests for was published recently method