Dear Josip,
those header values are automatically set at run time by SAC, when station and event coordinates are available in the header.
However SAC does not save them to disk, unless you explicitly do a “wh”.
If you do:
r test.sac
wh
and then look at your file in ObsPy, those missing fields should now be there.
Cheers,
Claudio