refactor studio component creation in acceptance tests
pep8 and pylint fixes