Refactor facet tests

yay refactoring! and centralized code, so we don't have to keep repeating everything everywhere!