more cleanup of the threads test
move pageSize into IPages to have one less argument to BTreeSegment.Create