Added tests for generate_certificates.py.
Very raw version with little to no mocking.