changes directory structure
fixes test config for changing directory