Add some hooks for testing the rx-stat handling