Add test coverage around scheduled publishing

This was not previously covered by any cucumber scenarios