fixed test to use yesterday date