correct _test_check_sw_type()