Fix testregistry.py

testregistry.py was not kept up-to-date with various AT-SPI changes. Update
to at least run and give output similar to its former output.