Just a quick aside, the millis() function returns the value of timer0_millis. If you don't really care how long your unit has been receiving power, you can set/reset this any time you want. Perhaps at the end of each test you simply set to zero and then test for when it exceeds postFlow.