Updated tests.py output, starting work to get rid of deprecated .has_key(key) use.