pandas slice tests use iloc instead of loc