Expecting 6, getting 9. I believe this is because junit tests are run at random and not in order. This is confirmed by the print statements i have added to see what the problem was