Changed expected certificate dump to match base64 decoding of actual key
Removed trailing spaces in certificate __str__ method
Added doc strings to all new classes