@Test
	public void mainTest()
	{
		List<Future<Integer>> futures = new ArrayList<Future<Integer>>();

		for (int i = 0; i < NITEMS; i++)
		{
			Future<Integer> future = executor.submit( new ScoreTask(scoreService, i*2) );
			futures.add(future);
		}

		//Wait for all futures
		for (Future<Integer> future : futures)
		{
			try
			{
				future.get();
			} catch (InterruptedException e)
			{
				e.printStackTrace();
			} catch (ExecutionException e)
			{
				e.printStackTrace();
			}
		}

		Set<Player> right = new LinkedHashSet<Player>();

		for (int i = NITEMS-1; i >= NITEMS-15 ; i--)
		{
			right.add(new Player(i, (NITEMS-1)*2));
		}

		assertEquals(scoreService.highscores(1), right);
	}