Delete Query complete with test coverage