Updated documentation. More tests mixing collect with case.