    @Test
    void testGetDifficultyUsesStart() {

        final BigInteger startDiff = BigInteger.valueOf(5000);
        final DifficultyCalculator difficultyCalculator =
                new DifficultyCalculator(1, 1, 5000L, 5);

        for (int i = 0; i < 5; i++) {
            final Miner miner = new Miner();
            miner.setValidSharesSubmitted((long) i);
            miner.setHashesSubmitted(BigInteger.valueOf(100));
            Assertions.assertEquals(startDiff, difficultyCalculator.getNextJobDifficulty(miner).getDifficulty());
        }
    }