replacle test dir