testing for linking with malloc