Moves test files to the right targets.