Adding task model and incorporating factorygirl in unit tests