Add minimal tests to ensure the code examples are valid