D S ] 2 1 Ja n 20 16 Testing Shape Restrictions of Discrete Distributions