Test utility for auditing method calls.