fix #4438 (uninitialized vars in test)