Finished GenerateDatesCommand, tests and clena up