Fix failing test case from Travis build.