iOS 12 Development: Testing and Error Handling