Add a sample that reproduce #270