add test for resetCache not clearing the model