Enable elasticsearch for travis builds
Fix running tests with elasticsearch