Added certificates for tests
Add code and tests