Adding missing serialisation tests.