finally fix shared library tests