Refactored test_replay_attack.py, changes to test_system_setup.py and renamed one of the docs.