Removed nil warning by building a factory girl model.