Export nested classes for visual studio.
Fix build of test on visual studio.