Add tests for examples