Added QUnit tests for DataType constructor and instances

Change-Id: I08bbbbf6d52b78e63ca5f22600aaa01aae9657e0