Added dll export macro to dynamic library test