Fixed failure on Travis when testing v2.
Fixed failure on Travis when testing v2.