Fixed typos in trackEcommerceTransaction
Added test suite