Update gems, and fix a test

A test broke whe gems were updated, no idea why and I don't like the
fix, I will look into this.