I originally had code that would send the relevant push message if  date>= relevant push message date, instead of date == relevant push message date. 
This was wrong. I added in those tests to check that worked correctly.