Update integration test to use refresh instead of sleep

* Use *.index.refresh API for forcing elasticsearch to refresh

* Update truthy/falsey matchers for rspec