test: add "official docs Example #1 tests