testig background operations in iOS