Fixing randomly failing specs