Added unittests for date picker