- Fix tests that were failing because of misconfigured template path - Fix formatting issues identified by flake8