#63 Fix some build errors
Basic tests for JsonWriter
#63 Tests for 'up' command
#63 Various factoring for testing 'down' command