fixed a few bugs related to error reporting. Removed async and made tests pending until I can come up with a clean way of re-implementing it. Current implementation of async did not play nice with output handlers