Greens pleased government agrees to hearings on “mega trials” bill