Fix specs after travis-core update