test case of zero weight