Update wrapper to fix tracking sent to test env