Tests & doc