Try to configure end-to-end test to work both locally and on Travis