Updated for iOS 7, added Motion Activity test