Fix missing variable
Add mock for CurrentDate()