Updated test data, fixed bugs. Regenerated SWIG.

Signed-off-by: FellowTraveler <F3llowTraveler@gmail.com>