implementing formating on month and tests