Moved to saving extra error properties via error type
Updated tests to match saving under error key