Fixed restore_hazards_test.py
Merge pull request #1207 from gem/fix_restore_hazards

Fixed restore_hazards_test.py