gets rid of useless tests