modify a test so that trimming happens on a slave