Wrote testing framework. Valgrind currently whining about uninitialized buffers