updated test with factory girl