Fix tests and cargo deps

What was that 0.5.0 doing anyway?