change dtypes to dtype
change dtypes to dtype in tests