removes unnecessary tests