Add tests to django 1.2 and django 1.1