Test local magic linking.