Add unit test for the default value
Add unit test for the default value

This commit adds a test for the default value of date. The expected
default value is the current date at the moment where the element is
created.

saeidzebardast/moment-js