added batch test