TESTS: fixes to testing under Travis