add stringstream test