Test code as README example
Serialiser  accept Iterable instead of just List