refactor tests to use harnesses to generate commonly used factories