Remove out of place 'end' in test example.

Found a typo while reading docs.