Yes, the test is there: https://gitlab.winehq.org/wine/wine/-/blob/730b35ba46e6e17f1ac9043167ddfc175...
It could depend on the module and the specialization type, depending on how native does it, like if modules were built with a different version of the runtime, but I think keeping the code consistent between our implementation will make an eventual future factorization easier.