Added first test for the serialiser.