fixed some dtype testing errors