It’s not the believers soul which is being tested by fire, it’s his WORKS.
The soul is already saved. The works are being tested to see if they qualify for rewards in heaven.