adds docs example tests