Added test up to 10000