Fixed result variable conflict and reformatted self_Test_Z output