Fix pylint tests

This changes the semantics of passing None as context. Shouldn't you better use an empty dictionary then?