test for SWC