Make tree size in tests configurable, default to 50000 (for Hudson)