Correcting links for test mode.