Fix smpswriter test