s4 python: add more unit tests to verify the compare tests