Testing using plist in a plugin - also abstracting away the creation of NSData from a dictionary