Added 'full' writing support and a fairly simple test case for the writing support

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>