Added unit tests for datatypes