Add a test to validate the examples from the README