Testing D3 in Django