facet tests and fixes