Remove out of place 'end' in test example. [ci skip]

Found a typo while reading the docs.