Initial tests and Python3 support