Fix bug in SPED3 test