fix SWIG in Python port
fixed set2Val test case, the implementation was always right
all tests green