Functions to change weekday, with tests