Fix date picker tests