Change: Use an object for an error rather than an array, cleaner accessing.
Fix: Update the test page to reflect latest changes to error handling.