removes unneccasary tests