Updated test for dladdr() to be more comprehensive