Removed unnecessary code from releasecandidatetests