add some hooks for (manual) testing