[Tests] Implemented few unit tests for datepicker.
Merge pull request #408 from alex-zen/datepickerUT

Implemented few unit tests for datepicker.