fix flow control test

even if end seqno is set to 20 stream receives all 1k items
so it's incorrect to assume last seqno = 20.
also speeding up this test by setting end seqno = 5

Change-Id: Ib3cfca7e10b96c6f1985b91d9e334d674eec5111