Modernizes test asserts and drops old Python & Django support.