fix unit factor typo for C++ instantiation.
Rebuild DLL, debug information wasn't stripped from the current release.
Add an explicit test for this case in the unit tests.