further testing of get_certificate