spatiotemp-spectra-2d: refactoring and improve coverage

1 job for topic/default/spatiotemp-spectra-2d in 15 minutes and 11 seconds (queued for 1 second)