Wrote tests for certificate.rb
Wrote additional tests for certificate.rb
cleaned up certificate test file