test audit functionality