Fix scheduled publishing test

the test was not taking into account last dates
of the month, so was selecting an invalid date
for scheduling and hence failing.
Merge pull request #186 from alphagov/make-test-resistant-to-clock-changes

Fix scheduled publishing test