Greatly improve the documentation of test libraries