Added test for dist bc weighted