Expect timestamp parameter of dateformat function to be scala.Long