test_whole_translator.py: Fixed struct check