[test] add swig integration test under ctest