TST: dtype test fixes for GH7533