Add factory spec