[test] add missing include (#include <string>)