add unit test for datetimeadapter
Merge remote-tracking branch 'origin/master'