Updated arguments on logging debug
Made a stylistic change with arguments for logging debug.
Then updated tests to handle this change in expected arguments.
Flake8 style update for test__init.py