Fixing linking of unit tests