Add more test
Handle undefined d3.event