The NSW government will trial pill testing at music festivals from early next year. The move comes off the back of an interim report from the state's drug summits.