Small test cases for new serialization functionalities

Signed-off-by: Daniel Borchmann <daniel.borchmann@mailbox.tu-dresden.de>