Added test for the serialise.data function.