Added unit tests and started fixing up santize module.a