This test uses the delivered regtypeprov.uno dynamic library, not the local one. (It might work to fix this, changing the test from a UNO component started from the uno executable to a stand-alone application that bootstraps UNO in a special way.)