fixed the iapTest bugs

fixed the iapTest bugs