test for chi2 special case

Add test for chi squared distance special case, with both bins == 0.