Fix test_name not found for plotting noise

- test name declared after the call to _plot_noise which requires the test_name argument to be provided
- moving declaration of test_name up

Change-Id: I567873bb5194e3d64d81c5f545838e74e58950e5
Flag: TEST_ONLY
Bug: 354788057
Test: n/a
1 file changed