tests + doc