added factory girl and tests