upgrade swig to 1.4.2
add exposed swig test case
add exposed swig test case