Skip some tests if elasticsearch not installed
Added elasticsearch to setup.py