Rooting statement writer test