Fixed a missing string initialization, redirected test resource files