Updated python tests.