unittests added for serpent serialization (java)