makefile in test now links with a shared library