adding test code and can't auto flush bug.