@Test
	public void testMulti() throws InterruptedException {
		Multi hello;
		NodeBlock nb;
		Multi res;
		ByteBuffer bb;
		int size;

		Random ran = new Random();

		for (int i = 0; i < 20; i++) {
			byte[] buf = new byte[ran.nextInt(7200)];
			ran.nextBytes(buf);

			hello = new Multi(new Hello((byte) ran.nextInt(), ran.nextLong()), new MessageBlock(ran.nextLong(),
					ran.nextInt(), buf), new Ping((byte) ran.nextInt(), ran.nextLong()));

			testAMulti(hello);

		}

		for (int i = 0; i < 10; i++) {

			hello = new Multi(new Ignore(ran.nextInt(3000)), new Ignore(ran.nextInt(7000)), new Ignore(0));

			testAMulti(hello);

		}

		for (int i = 0; i < 10; i++) {

			hello = new Multi(new Multi(), new Ignore(ran.nextInt(3000)), new Multi(new Ignore(ran.nextInt(700)),
					new Ignore(ran.nextInt(700))), new Ignore(0));

			testAMulti(hello);

		}

		testAMulti(new Multi());
	}