tested match delete functionality