Fix bug in initialisation of SerialisedTuple

SerialisedTuple.pointer and .length were not being initialised on
construction leading to segfaults based on uninitilialised deletes.
Improve testing framework for Components

This commit improves the simple testing framework by adding assertEquals
and improving the TestRunner.

Tests for Tuple and TupleFormat have been updated.