Port AnswerTest to factories