test flush in App layer as well.