added certificate_spec
xMerge branch 'tests' of https://github.com/AgileVentures/certificates into tests
added factory girl and updated spec_helper