added MSVC project for DLL; made timing test more generic and stable