removes redundant test