Competitive Tests And Estimators For Properties Of Distributions