fixed some unhandled exceptions, changed json schema
changed tests to accommodate new config schema