Intent JSON in tests