added test for default time logic. also added default date functionality