clean junit test + add test
add Per-interface serialiser