Change cal_days_in_month for date() to not require calendar extension

Signed-off-by: Rogerio Prado de Jesus <rogeriopradoj@gmail.com>
Fix tests for DateObj

Signed-off-by: Rogerio Prado de Jesus <rogeriopradoj@gmail.com>
Merge branch 'unit-tests'