Rework the tests for use with Python3

Implement the tests as proper TestCases and make use of the python3-ldap
library which has support for both Python2 and Python3.
Merge pull request #2 from jerrykan/python3-tests

Improve and rework the tests for use with Python3