Update test to reflect current behavior of database/cache