added Delete method, an example and tests