Initial checkin of lib/tests/examples

@redonkulus @mridgway
Doc block?