Added authorization on test batch end points (#229)