fix for date picker test helper