Added factory girl object mocking.