Started Flake8 fixes
Send kwargs from addCallback instead of lambda in case of _assert_expected_log_messages
Got rid of another lambda
Start of new test to check that messages are in es