fix tests currently failing on Travis

See be85aae10a346db897e5b16baa47f7b5c1678f6f