add batch tests