added tests for batch > 50
pep8 spacing