change midnight test to be more realistic