added django tests for backend