Bugfix in query_batch (field was ignored)
Added some unit tests for the backend part (depends on elasticsearch)