fixed broken purchasing tests