fix dll callbacks inline asm with msvc
verify proper module handle for dll callbacks
fix failing test