Build the test mirror only once
Fixed symlink creation for test packages
Removed file writing under install scripts