Below are the steps to sign out of the iTunes Store on your iOS device.
Choose the Setting Application
Touch the Store Icon
Touch your Apple ID
Touch Sign Out
Important: if you’re doing this to test in-app purchases do not sign in with your test account. You will instead be prompted to sign in during the in-app purchase test.