store func testing