@Test
    public void testGetNetIncome3() {
        MyHashTable<String, Integer> sales = new MyHashTable<>(10, 10);
        sales.put("A", 604);
        sales.put("B", 453);
        sales.put("C", 234);
        sales.put("D", 532);
        sales.put("E", 20);
        sales.put("F", 230);
        sales.put("G", 543);
        sales.put("H", 56);
        sales.put("I", 97);
        sales.put("J", 903);
        MyHashTable<String, String> sponsors = new MyHashTable<>(10, 10);
        sponsors.put("A", "");
        sponsors.put("B", "A");
        sponsors.put("C", "B");
        sponsors.put("D", "C");
        sponsors.put("E", "D");
        sponsors.put("F", "E");
        sponsors.put("G", "E");
        sponsors.put("H", "E");
        sponsors.put("I", "F");
        sponsors.put("J", "G");
        MLMRevenueTracker tracker = new MLMRevenueTracker();
        
        assertEquals(361, tracker.getNetIncome("J", sales, sponsors), 1);
        assertEquals(38, tracker.getNetIncome("I", sales, sponsors), 1);
        assertEquals(22, tracker.getNetIncome("H", sales, sponsors), 1);
        assertEquals(298, tracker.getNetIncome("G", sales, sponsors), 1);
        assertEquals(100, tracker.getNetIncome("F", sales, sponsors), 1);
        assertEquals(89, tracker.getNetIncome("E", sales, sponsors), 1);
        assertEquals(222, tracker.getNetIncome("D", sales, sponsors), 1);
        assertEquals(142, tracker.getNetIncome("C", sales, sponsors), 1);
        assertEquals(206, tracker.getNetIncome("B", sales, sponsors), 1);
        assert((tracker.getNetIncome("A", sales, sponsors) == 349)
                || (tracker.getNetIncome("A", sales, sponsors) == 350)
                || (tracker.getNetIncome("A", sales, sponsors) == 351)
                || (tracker.getNetIncome("A", sales, sponsors) == 283)
                || (tracker.getNetIncome("A", sales, sponsors) == 284)
                || (tracker.getNetIncome("A", sales, sponsors) == 285));
    }