fix broken unittests discovered by Travis migration