tests altered to implement factory girl