add str to testing in align.py which is redundant in py3 but should solve the issue in py2