Fix test bug that caused Travis to fail.