Fix ODR violations by building ported tests with MONGO_EXPOSE_MACROS