Fix leak in selenium tests
Fix custom travis configuration