Made a test less Django version dependent.