Add pytest & mock requirements
Add missing docstring to ldapcon.Connection.close