Add tests for UA Returned Errors