write test fix 6