Re #8472 - Implemented get_certificates method and added an integration test validating it
Added fixtures providing a unique DB connection for each test
Re #8472 - Improved SQL connection/cursor fixtures in such way that connection to DB happens only once per test module