use day-of-week mod 7 to send Sunday to 0
adds test for a Sunday