Fix tests.
Update doc and add intersection test specs.