test helpers - print info optional; PEP-8 compliance