Added the unit tests for the date and number formatting functionality.