added certificate_spec
xMerge branch 'tests' of https://github.com/AgileVentures/certificates into tests