tests: fix missing method on for datepicker mock