Using two underscores in an identifier is reserved for the compiler by the C++ standard. You shouldn't use it.

Second, instead of marking all the tested functions for dll export, it should be easier to just statically link this with the test code.