update spm.tests