Adds specific format.date specs
Refactors tests