Dynamically link applications and tests