Added factory spec