Fixed SSL test and finished bibtex output draft