change test dir struct