Remove unnecessary .keys() calls in test_yanny.py