python: samba.tests.core: Port and enable core tests in Python 3