add django unit tests