only pep8 changes
minor changes to increase readability in API tests