TST: dtype fix for test_base, from PR 6734)