@Test
    public void insertingScoresMaintainOrder()
    {
        Random r = new Random();
        for (int i = 0; i < 100; i++)
            high.insertScore("randomScore", r.nextInt(1000), false);
        int prev = Integer.MAX_VALUE;
        boolean isinorder = true;
        for (int i = 0; i < 100; i++)
        {
            if (prev < high.getScoreByRank(i))  isinorder = false;
        }
        assertTrue(isinorder);
    }