fix test_recovery_device in test_protection_levels.py