TST: dtype fixes for #6256