modify directory for in-place test