Fix test error, also update doctrine dev-dependency (composer would barf if not).