Added and passed integration test for audit record insertion.