Fix specs on Travis.