Fix failling test on Travis