added factory girl and updated spec_helper
Set up factories for certificates