fix tests for all python and django versions