Add unit test for datum