ARRAY-2689: Added/Refactored junit tests for auditing.