Adjust assertion to pass on Travis build