Tests: fix SWC test