implemented new facet types, added tests for search (w/ facets)