Testing code on XCode