Python 2.6 compatibility change in test_searchcommands_app.py