Add tests for django command