Create example and test it