New Tests for DataTypes and a few fixes