Fixed test cases, formatted everything, take start time into account
when daily backup is scheduled