Fixed failure on Travis when testing.