Not printing trackEvent on test mode. This is leading to test errors on Jenkins.