python tests are fixed