fixed scala generator date test