Add DeleteInstance method (and test) to logic.