implement testing for facets
remove useless function from test
Merge pull request #42 from VeggieMeat/add-facet-tests

add tests for facet searches