Added BasicSerialisor and associated tests.