Added remaining write methods, updated Makefile.pl and did a whole bunch of tests