Cleanning RSpecs and get_trusted_certificates() implemented